<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>GMIS-WebRoot</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript">
		function refreshimg(){
			var checkCode = document.getElementById("checkcode");
			if (checkCode){
				alert("checkCode.src="+checkCode.src);
				checkCode.src='CheckCode.jpg?Refresh='+Math.floor(Math.random()*1000+1);
				alert("checkCode.src="+checkCode.src);
			}
		}
	</script>
  </head>
  
  <body>
    GMIS-WebRoot 系统开发！<br>
    验证码：<a href='javascript:refreshimg()' title='看不清楚，换个图片'><img id='checkcode' src='CheckCode.jpg' style='border: 1px solid #ffffff' /></a>
  </body>
</html>
